package net.lab1024.sa.admin.module.business.category.domain.form;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

import lombok.Data;

import java.util.List;

/**
 * 前台类目 新建表单
 *
 * @Author jabari
 * @Date 2023-06-01 15:12:18
 * @Copyright 51dev.cn
 */

@Data
public class FrontCategoryAddForm {

    @ApiModelProperty(value = "前台类目名称", required = true)
    @NotBlank(message = "前台类目名称 不能为空")
    private String frontCategoryName;


    @ApiModelProperty(value = "后台类目ID集合", required = true)
    @NotEmpty(message = "后台类目 不能为空")
    private List<Integer> categoryIds;

}